<template>
  <div>
    <div>
      <router-link to="/demo/list">list页面</router-link>
      <router-link :to="{ name: 'detail' }">detail页面</router-link>
    </div>
    <router-view></router-view>
  </div>
</template>


<script>
export default {
  components: {},
  props: {},
  data() {
    return {
    };
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {
    // console.log(this.$route);
  },
  methods: {
    handleClick() {
      this.$router.go(-1);
    },
  },
};
</script>
<style>

</style>
